import request from '@/utils/request'

// 查询机构水费台账登记列表
export function listWiOrgacctY(query) {
  return request({
    url: '/waterPrice/WiOrgacctY/list',
    method: 'get',
    params: query
  })
}

// 查询机构水费台账登记详细
export function getWiOrgacctY(feeYr) {
  return request({
    url: '/waterPrice/WiOrgacctY/' + feeYr,
    method: 'get'
  })
}

// 新增机构水费台账登记
export function addWiOrgacctY(data) {
  return request({
    url: '/waterPrice/WiOrgacctY',
    method: 'post',
    data: data
  })
}

// 修改机构水费台账登记
export function updateWiOrgacctY(data) {
  return request({
    url: '/waterPrice/WiOrgacctY',
    method: 'put',
    data: data
  })
}

// 删除机构水费台账登记
export function delWiOrgacctY(feeYr) {
  return request({
    url: '/waterPrice/WiOrgacctY/' + feeYr,
    method: 'delete'
  })
}
